#ifndef COLORPAD_H_
#define COLORPAD_H_
#include <cstdio>
#include <time.h>
#include <string>
#include <iostream>
#include <fstream>

#include "cubex.h"
#include "main.h"
#include "cube.h"
#include "rubik.h"

using namespace std;
bool intersect(vec2 topleft, float w, float h, float x, float y);

class colorpad
{
public:
	colorpad(void);
	~colorpad(void);
	vec3* setColor(int x, int y);
	void render();
private:
	vec3 colors[6];
	vec2 positions[6];
	float facetw;
	float faceth;

};

#endif